home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / interp / perl-5.003.tar.gz / perl-5.003.tar / perl-5.003 / config_H < prev    next >
Text File  |  1996-03-25  |  49KB  |  1,583 lines

  1. /* This file (config_H) is a sample config.h file.  If you are unable
  2.    to successfully run Configure, copy this file to config.h and
  3.    edit it to suit your system.
  4. */
  5. /*
  6.  * This file was produced by running the config_h.SH script, which
  7.  * gets its values from config.sh, which is generally produced by
  8.  * running Configure.
  9.  *
  10.  * Feel free to modify any of this as the need arises.  Note, however,
  11.  * that running config_h.SH again will wipe out any changes you've made.
  12.  * For a more permanent change edit config.sh and rerun config_h.SH.
  13.  *
  14.  * $Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $
  15.  */
  16.  
  17. /* Configuration time: Mon Mar 18 23:11:24 EST 1996
  18.  * Configured by: bailey
  19.  * Target system: sunos agave.humgen.upenn.edu 5.4 generic_101945-13 sun4m sparc 
  20.  */
  21.  
  22. #ifndef _config_h_
  23. #define _config_h_
  24.  
  25. /* MEM_ALIGNBYTES:
  26.  *    This symbol contains the number of bytes required to align a
  27.  *    double. Usual values are 2, 4 and 8.
  28.  */
  29. #define MEM_ALIGNBYTES 4    /**/
  30.  
  31. /* BIN:
  32.  *    This symbol holds the path of the bin directory where the package will
  33.  *    be installed. Program must be prepared to deal with ~name substitution.
  34.  */
  35. #define BIN "/usr/local/bin"    /**/
  36.  
  37. /* CAT2:
  38.  *    This macro catenates 2 tokens together.
  39.  */
  40. #if 42 == 1
  41. #define CAT2(a,b)a/**/b
  42. #define CAT3(a,b,c)a/**/b/**/c
  43. #define CAT4(a,b,c,d)a/**/b/**/c/**/d
  44. #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
  45. #define STRINGIFY(a)"a"
  46.         /* If you can get stringification with catify, tell me how! */
  47. #endif
  48. #if 42 == 42
  49. #define CAT2(a,b)a ## b
  50. #define CAT3(a,b,c)a ## b ## c
  51. #define CAT4(a,b,c,d)a ## b ## c ## d
  52. #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
  53. #define StGiFy(a)# a
  54. #define STRINGIFY(a)StGiFy(a)
  55. #define SCAT2(a,b)StGiFy(a) StGiFy(b)
  56. #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
  57. #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
  58. #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
  59. #endif
  60. #ifndef CAT2
  61. #include "Bletch: How does this C preprocessor catenate tokens?"
  62. #endif
  63.  
  64. /* CPPSTDIN:
  65.  *    This symbol contains the first part of the string which will invoke
  66.  *    the C preprocessor on the standard input and produce to standard
  67.  *    output.     Typical value of "cc -E" or "/lib/cpp", but it can also
  68.  *    call a wrapper. See CPPRUN.
  69.  */
  70. /* CPPMINUS:
  71.  *    This symbol contains the second part of the string which will invoke
  72.  *    the C preprocessor on the standard input and produce to standard
  73.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  74.  *    to specify standard input, otherwise the value is "".
  75.  */
  76. #define CPPSTDIN "cc -E"
  77. #define CPPMINUS "-"
  78.  
  79. /* HAS_ALARM:
  80.  *    This symbol, if defined, indicates that the alarm routine is
  81.  *    available.
  82.  */
  83. #define HAS_ALARM        /**/
  84.  
  85. /* HASATTRIBUTE:
  86.  *    This symbol indicates the C compiler can check for function attributes,
  87.  *    such as printf formats. This is normally only supported by GNU cc.
  88.  */
  89. /*#define HASATTRIBUTE     /**/
  90. #ifndef HASATTRIBUTE
  91. #define __attribute__(_arg_)
  92. #endif
  93.  
  94. /* HAS_BCMP:
  95.  *    This symbol is defined if the bcmp() routine is available to
  96.  *    compare blocks of memory.
  97.  */
  98. /*#define HAS_BCMP    /**/
  99.  
  100. /* HAS_BCOPY:
  101.  *    This symbol is defined if the bcopy() routine is available to
  102.  *    copy blocks of memory.
  103.  */
  104. /*#define HAS_BCOPY    /**/
  105.  
  106. /* HAS_BZERO:
  107.  *    This symbol is defined if the bzero() routine is available to
  108.  *    set a memory block to 0.
  109.  */
  110. /*#define HAS_BZERO    /**/
  111.  
  112. /* CASTI32:
  113.  *    This symbol is defined if the C compiler can cast negative
  114.  *    or large floating point numbers to 32-bit ints.
  115.  */
  116. #define    CASTI32        /**/
  117.  
  118. /* CASTNEGFLOAT:
  119.  *    This symbol is defined if the C compiler can cast negative
  120.  *    numbers to unsigned longs, ints and shorts.
  121.  */
  122. /* CASTFLAGS:
  123.  *    This symbol contains flags that say what difficulties the compiler
  124.  *    has casting odd floating values to unsigned long:
  125.  *        0 = ok
  126.  *        1 = couldn't cast < 0
  127.  *        2 = couldn't cast >= 0x80000000
  128.  *        4 = couldn't cast in argument expression list
  129.  */
  130. #define    CASTNEGFLOAT        /**/
  131. #define CASTFLAGS 0        /**/
  132.  
  133. /* HAS_CHOWN:
  134.  *    This symbol, if defined, indicates that the chown routine is
  135.  *    available.
  136.  */
  137. #define HAS_CHOWN        /**/
  138.  
  139. /* HAS_CHROOT:
  140.  *    This symbol, if defined, indicates that the chroot routine is
  141.  *    available.
  142.  */
  143. #define HAS_CHROOT        /**/
  144.  
  145. /* HAS_CHSIZE:
  146.  *    This symbol, if defined, indicates that the chsize routine is available
  147.  *    to truncate files.  You might need a -lx to get this routine.
  148.  */
  149. /*#define    HAS_CHSIZE        /**/
  150.  
  151. /* VOID_CLOSEDIR:
  152.  *    This symbol, if defined, indicates that the closedir() routine
  153.  *    does not return a value.
  154.  */
  155. /*#define VOID_CLOSEDIR        /**/
  156.  
  157. /* HASCONST:
  158.  *    This symbol, if defined, indicates that this C compiler knows about
  159.  *    the const type. There is no need to actually test for that symbol
  160.  *    within your programs. The mere use of the "const" keyword will
  161.  *    trigger the necessary tests.
  162.  */
  163. #define HASCONST    /**/
  164. #ifndef HASCONST
  165. #define const
  166. #endif
  167.  
  168. /* HAS_CRYPT:
  169.  *    This symbol, if defined, indicates that the crypt routine is available
  170.  *    to encrypt passwords and the like.
  171.  */
  172. #define HAS_CRYPT        /**/
  173.  
  174. /* HAS_CUSERID:
  175.  *    This symbol, if defined, indicates that the cuserid routine is
  176.  *    available to get character login names.
  177.  */
  178. #define HAS_CUSERID        /**/
  179.  
  180. /* HAS_DBL_DIG:
  181.  *    This symbol, if defined, indicates that this system's <float.h>
  182.  *    or <limits.h> defines the symbol DBL_DIG, which is the number
  183.  *    of significant digits in a double precision number.  If this
  184.  *    symbol is not defined, a guess of 15 is usually pretty good.
  185.  */
  186. #define HAS_DBL_DIG     /* */
  187.  
  188. /* HAS_DIFFTIME:
  189.  *    This symbol, if defined, indicates that the difftime routine is
  190.  *    available.
  191.  */
  192. #define HAS_DIFFTIME        /**/
  193.  
  194. /* HAS_DLERROR:
  195.  *    This symbol, if defined, indicates that the dlerror routine is
  196.  *    available to return a string describing the last error that
  197.  *    occurred from a call to dlopen(), dlclose() or dlsym().
  198.  */
  199. #define HAS_DLERROR    /**/
  200.  
  201. /* HAS_DUP2:
  202.  *    This symbol, if defined, indicates that the dup2 routine is
  203.  *    available to duplicate file descriptors.
  204.  */
  205. #define HAS_DUP2    /**/
  206.  
  207. /* HAS_FCHMOD:
  208.  *    This symbol, if defined, indicates that the fchmod routine is available
  209.  *    to change mode of opened files.  If unavailable, use chmod().
  210.  */
  211. #define HAS_FCHMOD        /**/
  212.  
  213. /* HAS_FCHOWN:
  214.  *    This symbol, if defined, indicates that the fchown routine is available
  215.  *    to change ownership of opened files.  If unavailable, use chown().
  216.  */
  217. #define HAS_FCHOWN        /**/
  218.  
  219. /* HAS_FCNTL:
  220.  *    This symbol, if defined, indicates to the C program that
  221.  *    the fcntl() function exists.
  222.  */
  223. #define HAS_FCNTL        /**/
  224.  
  225. /* HAS_FGETPOS:
  226.  *    This symbol, if defined, indicates that the fgetpos routine is
  227.  *    available to get the file position indicator, similar to ftell().
  228.  */
  229. #define HAS_FGETPOS    /**/
  230.  
  231. /* FLEXFILENAMES:
  232.  *    This symbol, if defined, indicates that the system supports filenames
  233.  *    longer than 14 characters.
  234.  */
  235. #define    FLEXFILENAMES        /**/
  236.  
  237. /* HAS_FLOCK:
  238.  *    This symbol, if defined, indicates that the flock routine is
  239.  *    available to do file locking.
  240.  */
  241. /*#define HAS_FLOCK        /**/
  242.  
  243. /* HAS_FORK:
  244.  *    This symbol, if defined, indicates that the fork routine is
  245.  *    available.
  246.  */
  247. #define HAS_FORK        /**/
  248.  
  249. /* HAS_FSETPOS:
  250.  *    This symbol, if defined, indicates that the fsetpos routine is
  251.  *    available to set the file position indicator, similar to fseek().
  252.  */
  253. #define HAS_FSETPOS    /**/
  254.  
  255. /* HAS_GETGROUPS:
  256.  *    This symbol, if defined, indicates that the getgroups() routine is
  257.  *    available to get the list of process groups.  If unavailable, multiple
  258.  *    groups are probably not supported.
  259.  */
  260. #define HAS_GETGROUPS        /**/
  261.  
  262. /* HAS_GETHOSTENT:
  263.  *    This symbol, if defined, indicates that the gethostent routine is
  264.  *    available to lookup host names in some data base or other.
  265.  */
  266. #define HAS_GETHOSTENT        /**/
  267.  
  268. /* HAS_UNAME:
  269.  *    This symbol, if defined, indicates that the C program may use the
  270.  *    uname() routine to derive the host name.  See also HAS_GETHOSTNAME
  271.  *    and PHOSTNAME.
  272.  */
  273. #define HAS_UNAME        /**/
  274.  
  275. /* HAS_GETLOGIN:
  276.  *    This symbol, if defined, indicates that the getlogin routine is
  277.  *    available to get the login name.
  278.  */
  279. #define HAS_GETLOGIN        /**/
  280.  
  281. /* HAS_GETPGRP:
  282.  *    This symbol, if defined, indicates that the getpgrp routine is
  283.  *    available to get the current process group.
  284.  */
  285. #define HAS_GETPGRP        /**/
  286.  
  287. /* HAS_GETPGRP2:
  288.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  289.  *    routine is available to get the current process group.
  290.  */
  291. /*#define HAS_GETPGRP2        /**/
  292.  
  293. /* HAS_GETPPID:
  294.  *    This symbol, if defined, indicates that the getppid routine is
  295.  *    available to get the parent process ID.
  296.  */
  297. #define HAS_GETPPID        /**/
  298.  
  299. /* HAS_GETPRIORITY:
  300.  *    This symbol, if defined, indicates that the getpriority routine is
  301.  *    available to get a process's priority.
  302.  */
  303. /*#define HAS_GETPRIORITY        /**/
  304.  
  305. /* HAS_HTONL:
  306.  *    This symbol, if defined, indicates that the htonl() routine (and
  307.  *    friends htons() ntohl() ntohs()) are available to do network
  308.  *    order byte swapping.
  309.  */
  310. /* HAS_HTONS:
  311.  *    This symbol, if defined, indicates that the htons() routine (and
  312.  *    friends htonl() ntohl() ntohs()) are available to do network
  313.  *    order byte swapping.
  314.  */
  315. /* HAS_NTOHL:
  316.  *    This symbol, if defined, indicates that the ntohl() routine (and
  317.  *    friends htonl() htons() ntohs()) are available to do network
  318.  *    order byte swapping.
  319.  */
  320. /* HAS_NTOHS:
  321.  *    This symbol, if defined, indicates that the ntohs() routine (and
  322.  *    friends htonl() htons() ntohl()) are available to do network
  323.  *    order byte swapping.
  324.  */
  325. #define HAS_HTONL        /**/
  326. #define HAS_HTONS        /**/
  327. #define HAS_NTOHL        /**/
  328. #define HAS_NTOHS        /**/
  329.  
  330. /* HAS_ISASCII:
  331.  *    This manifest constant lets the C program know that isascii 
  332.  *    is available.
  333.  */
  334. #define HAS_ISASCII        /**/
  335.  
  336. /* HAS_KILLPG:
  337.  *    This symbol, if defined, indicates that the killpg routine is available
  338.  *    to kill process groups.  If unavailable, you probably should use kill
  339.  *    with a negative process number.
  340.  */
  341. /*#define HAS_KILLPG    /**/
  342.  
  343. /* HAS_LINK:
  344.  *    This symbol, if defined, indicates that the link routine is
  345.  *    available to create hard links.
  346.  */
  347. #define HAS_LINK    /**/
  348.  
  349. /* HAS_LOCALECONV:
  350.  *    This symbol, if defined, indicates that the localeconv routine is
  351.  *    available for numeric and monetary formatting conventions.
  352.  */
  353. #define HAS_LOCALECONV    /**/
  354.  
  355. /* HAS_LOCKF:
  356.  *    This symbol, if defined, indicates that the lockf routine is
  357.  *    available to do file locking.
  358.  */
  359. #define HAS_LOCKF        /**/
  360.  
  361. /* HAS_LSTAT:
  362.  *    This symbol, if defined, indicates that the lstat routine is
  363.  *    available to do file stats on symbolic links.
  364.  */
  365. #define HAS_LSTAT        /**/
  366.  
  367. /* HAS_MBLEN:
  368.  *    This symbol, if defined, indicates that the mblen routine is available
  369.  *    to find the number of bytes in a multibye character.
  370.  */
  371. #define HAS_MBLEN        /**/
  372.  
  373. /* HAS_MBSTOWCS:
  374.  *    This symbol, if defined, indicates that the mbstowcs routine is
  375.  *    available to covert a multibyte string into a wide character string.
  376.  */
  377. #define    HAS_MBSTOWCS        /**/
  378.  
  379. /* HAS_MBTOWC:
  380.  *    This symbol, if defined, indicates that the mbtowc routine is available
  381.  *    to covert a multibyte to a wide character.
  382.  */
  383. #define HAS_MBTOWC        /**/
  384.  
  385. /* HAS_MEMCMP:
  386.  *    This symbol, if defined, indicates that the memcmp routine is available
  387.  *    to compare blocks of memory.
  388.  */
  389. #define HAS_MEMCMP    /**/
  390.  
  391. /* HAS_MEMCPY:
  392.  *    This symbol, if defined, indicates that the memcpy routine is available
  393.  *    to copy blocks of memory.
  394.  */
  395. #define HAS_MEMCPY    /**/
  396.  
  397. /* HAS_MEMMOVE:
  398.  *    This symbol, if defined, indicates that the memmove routine is available
  399.  *    to copy potentially overlapping blocks of memory. This should be used
  400.  *    only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
  401.  *    own version.
  402.  */
  403. #define HAS_MEMMOVE    /**/
  404.  
  405. /* HAS_MEMSET:
  406.  *    This symbol, if defined, indicates that the memset routine is available
  407.  *    to set blocks of memory.
  408.  */
  409. #define HAS_MEMSET    /**/
  410.  
  411. /* HAS_MKDIR:
  412.  *    This symbol, if defined, indicates that the mkdir routine is available
  413.  *    to create directories.  Otherwise you should fork off a new process to
  414.  *    exec /bin/mkdir.
  415.  */
  416. #define HAS_MKDIR        /**/
  417.  
  418. /* HAS_MKFIFO:
  419.  *    This symbol, if defined, indicates that the mkfifo routine is
  420.  *    available to create FIFOs. Otherwise, mknod should be able to
  421.  *    do it for you. However, if mkfifo is there, mknod might require
  422.  *    super-user privileges which mkfifo will not.
  423.  */
  424. #define HAS_MKFIFO        /**/
  425.  
  426. /* HAS_MKTIME:
  427.  *    This symbol, if defined, indicates that the mktime routine is
  428.  *    available.
  429.  */
  430. #define HAS_MKTIME        /**/
  431.  
  432. /* HAS_MSG:
  433.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  434.  *    supported (IPC mechanism based on message queues).
  435.  */
  436. #define HAS_MSG        /**/
  437.  
  438. /* HAS_NICE:
  439.  *    This symbol, if defined, indicates that the nice routine is
  440.  *    available.
  441.  */
  442. #define HAS_NICE        /**/
  443.  
  444. /* HAS_OPEN3:
  445.  *    This manifest constant lets the C program know that the three
  446.  *    argument form of open(2) is available.
  447.  */
  448. #define HAS_OPEN3        /**/
  449.  
  450. /* HAS_PATHCONF:
  451.  *    This symbol, if defined, indicates that pathconf() is available
  452.  *    to determine file-system related limits and options associated
  453.  *    with a given filename.
  454.  */
  455. /* HAS_FPATHCONF:
  456.  *    This symbol, if defined, indicates that pathconf() is available
  457.  *    to determine file-system related limits and options associated
  458.  *    with a given open file descriptor.
  459.  */
  460. #define HAS_PATHCONF        /**/
  461. #define HAS_FPATHCONF        /**/
  462.  
  463. /* HAS_PAUSE:
  464.  *    This symbol, if defined, indicates that the pause routine is
  465.  *    available to suspend a process until a signal is received.
  466.  */
  467. #define HAS_PAUSE        /**/
  468.  
  469. /* HAS_PIPE:
  470.  *    This symbol, if defined, indicates that the pipe routine is
  471.  *    available to create an inter-process channel.
  472.  */
  473. #define HAS_PIPE        /**/
  474.  
  475. /* HAS_POLL:
  476.  *    This symbol, if defined, indicates that the poll routine is
  477.  *    available to poll active file descriptors.
  478.  */
  479. #define HAS_POLL        /**/
  480.  
  481. /* HAS_READDIR:
  482.  *    This symbol, if defined, indicates that the readdir routine is
  483.  *    available to read directory entries. You may have to include
  484.  *    <dirent.h>. See I_DIRENT.
  485.  */
  486. #define HAS_READDIR        /**/
  487.  
  488. /* HAS_SEEKDIR:
  489.  *    This symbol, if defined, indicates that the seekdir routine is
  490.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  491.  */
  492. #define HAS_SEEKDIR        /**/
  493.  
  494. /* HAS_TELLDIR:
  495.  *    This symbol, if defined, indicates that the telldir routine is
  496.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  497.  */
  498. #define HAS_TELLDIR        /**/
  499.  
  500. /* HAS_REWINDDIR:
  501.  *    This symbol, if defined, indicates that the rewinddir routine is
  502.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  503.  */
  504. #define HAS_REWINDDIR        /**/
  505.  
  506. /* HAS_READLINK:
  507.  *    This symbol, if defined, indicates that the readlink routine is
  508.  *    available to read the value of a symbolic link.
  509.  */
  510. #define HAS_READLINK        /**/
  511.  
  512. /* HAS_RENAME:
  513.  *    This symbol, if defined, indicates that the rename routine is available
  514.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  515.  *    trick.
  516.  */
  517. #define HAS_RENAME    /**/
  518.  
  519. /* HAS_RMDIR:
  520.  *    This symbol, if defined, indicates that the rmdir routine is
  521.  *    available to remove directories. Otherwise you should fork off a
  522.  *    new process to exec /bin/rmdir.
  523.  */
  524. #define HAS_RMDIR        /**/
  525.  
  526. /* HAS_SAFE_BCOPY:
  527.  *    This symbol, if defined, indicates that the bcopy routine is available
  528.  *    to copy potentially overlapping memory blocks. Otherwise you should
  529.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  530.  *    own version.
  531.  */
  532. /*#define HAS_SAFE_BCOPY    /**/
  533.  
  534. /* HAS_SAFE_MEMCPY:
  535.  *    This symbol, if defined, indicates that the memcpy routine is available
  536.  *    to copy potentially overlapping memory blocks. Otherwise you should
  537.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  538.  *    own version.
  539.  */
  540. /*#define HAS_SAFE_MEMCPY    /**/
  541.  
  542. /* HAS_SELECT:
  543.  *    This symbol, if defined, indicates that the select routine is
  544.  *    available to select active file descriptors. If the timeout field
  545.  *    is used, <sys/time.h> may need to be included.
  546.  */
  547. #define HAS_SELECT    /**/
  548.  
  549. /* HAS_SEM:
  550.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  551.  *    supported.
  552.  */
  553. #define HAS_SEM        /**/
  554.  
  555. /* HAS_SETEGID:
  556.  *    This symbol, if defined, indicates that the setegid routine is available
  557.  *    to change the effective gid of the current program.
  558.  */
  559. #define HAS_SETEGID        /**/
  560.  
  561. /* HAS_SETEUID:
  562.  *    This symbol, if defined, indicates that the seteuid routine is available
  563.  *    to change the effective uid of the current program.
  564.  */
  565. #define HAS_SETEUID        /**/
  566.  
  567. /* HAS_SETLINEBUF:
  568.  *    This symbol, if defined, indicates that the setlinebuf routine is
  569.  *    available to change stderr or stdout from block-buffered or unbuffered
  570.  *    to a line-buffered mode.
  571.  */
  572. /*#define HAS_SETLINEBUF        /**/
  573.  
  574. /* HAS_SETLOCALE:
  575.  *    This symbol, if defined, indicates that the setlocale routine is
  576.  *    available to handle locale-specific ctype implementations.
  577.  */
  578. #define HAS_SETLOCALE    /**/
  579.  
  580. /* HAS_SETPGID:
  581.  *    This symbol, if defined, indicates that the setpgid routine is
  582.  *    available to set process group ID.
  583.  */
  584. #define HAS_SETPGID    /**/
  585.  
  586. /* HAS_SETPGRP:
  587.  *    This symbol, if defined, indicates that the setpgrp routine is
  588.  *    available to set the current process group.
  589.  */
  590. /* USE_BSDPGRP:
  591.  *    This symbol, if defined, indicates that the BSD notion of process
  592.  *    group is to be used. For instance, you have to say setpgrp(pid, pgrp)
  593.  *    instead of the USG setpgrp().
  594.  */
  595. #define HAS_SETPGRP        /**/
  596. /*#define USE_BSDPGRP        /**/
  597.  
  598. /* HAS_SETPGRP2:
  599.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  600.  *    routine is available to set the current process group.
  601.  */
  602. /*#define HAS_SETPGRP2        /**/
  603.  
  604. /* HAS_SETPRIORITY:
  605.  *    This symbol, if defined, indicates that the setpriority routine is
  606.  *    available to set a process's priority.
  607.  */
  608. /*#define HAS_SETPRIORITY        /**/
  609.  
  610. /* HAS_SETREGID:
  611.  *    This symbol, if defined, indicates that the setregid routine is
  612.  *    available to change the real and effective gid of the current
  613.  *    process.
  614.  */
  615. /* HAS_SETRESGID:
  616.  *    This symbol, if defined, indicates that the setresgid routine is
  617.  *    available to change the real, effective and saved gid of the current
  618.  *    process.
  619.  */
  620. /*#define HAS_SETREGID        /**/
  621. /*#define HAS_SETRESGID        /**/
  622.  
  623. /* HAS_SETREUID:
  624.  *    This symbol, if defined, indicates that the setreuid routine is
  625.  *    available to change the real and effective uid of the current
  626.  *    process.
  627.  */
  628. /* HAS_SETRESUID:
  629.  *    This symbol, if defined, indicates that the setresuid routine is
  630.  *    available to change the real, effective and saved uid of the current
  631.  *    process.
  632.  */
  633. /*#define HAS_SETREUID        /**/
  634. /*#define HAS_SETRESUID        /**/
  635.  
  636. /* HAS_SETRGID:
  637.  *    This symbol, if defined, indicates that the setrgid routine is available
  638.  *    to change the real gid of the current program.
  639.  */
  640. /*#define HAS_SETRGID        /**/
  641.  
  642. /* HAS_SETRUID:
  643.  *    This symbol, if defined, indicates that the setruid routine is available
  644.  *    to change the real uid of the current program.
  645.  */
  646. /*#define HAS_SETRUID        /**/
  647.  
  648. /* HAS_SETSID:
  649.  *    This symbol, if defined, indicates that the setsid routine is
  650.  *    available to set the process group ID.
  651.  */
  652. #define HAS_SETSID    /**/
  653.  
  654. /* HAS_SHM:
  655.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  656.  *    supported.
  657.  */
  658. #define HAS_SHM        /**/
  659.  
  660. /* Shmat_t:
  661.  *    This symbol holds the return type of the shmat() system call.
  662.  *    Usually set to 'void *' or 'char *'.
  663.  */
  664. /* HAS_SHMAT_PROTOTYPE:
  665.  *    This symbol, if defined, indicates that the sys/shm.h includes
  666.  *    a prototype for shmat().  Otherwise, it is up to the program to
  667.  *    guess one.  Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
  668.  *    but not always right so it should be emitted by the program only
  669.  *    when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
  670.  */
  671. #define Shmat_t void *    /**/
  672. #define HAS_SHMAT_PROTOTYPE    /**/
  673.  
  674. /* HAS_SIGACTION:
  675.  *    This symbol, if defined, indicates that Vr4's sigaction() routine
  676.  *    is available.
  677.  */
  678. #define HAS_SIGACTION    /**/
  679.  
  680. /* HAS_SOCKET:
  681.  *    This symbol, if defined, indicates that the BSD socket interface is
  682.  *    supported.
  683.  */
  684. /* HAS_SOCKETPAIR:
  685.  *    This symbol, if defined, indicates that the BSD socketpair() call is
  686.  *    supported.
  687.  */
  688. #define HAS_SOCKET        /**/
  689. #define HAS_SOCKETPAIR    /**/
  690.  
  691. /* USE_STAT_BLOCKS:
  692.  *    This symbol is defined if this system has a stat structure declaring
  693.  *    st_blksize and st_blocks.
  694.  */
  695. #define USE_STAT_BLOCKS     /**/
  696.  
  697. /* USE_STDIO_PTR:
  698.  *    This symbol is defined if the _ptr and _cnt fields (or similar)
  699.  *    of the stdio FILE structure can be used to access the stdio buffer
  700.  *    for a file handle.  If this is defined, then the FILE_ptr(fp)
  701.  *    and FILE_cnt(fp) macros will also be defined and should be used
  702.  *    to access these fields.
  703.  */
  704. /* USE_STDIO_BASE:
  705.  *    This symbol is defined if the _base field (or similar) of the
  706.  *    stdio FILE structure can be used to access the stdio buffer for
  707.  *    a file handle.  If this is defined, then the FILE_base(fp) macro
  708.  *    will also be defined and should be used to access this field.
  709.  *    Also, the FILE_bufsiz(fp) macro will be defined and should be used
  710.  *    to determine the number of bytes in the buffer.  USE_STDIO_BASE
  711.  *    will never be defined unless USE_STDIO_PTR is.
  712.  */
  713. #define USE_STDIO_PTR     /**/
  714. #define USE_STDIO_BASE     /**/
  715.  
  716. /* FILE_ptr:
  717.  *    This macro is used to access the _ptr field (or equivalent) of the
  718.  *    FILE structure pointed to by its argument. This macro will always be
  719.  *    defined if USE_STDIO_PTR is defined.
  720.  */
  721. /* STDIO_PTR_LVALUE:
  722.  *    This symbol is defined if the FILE_ptr macro can be used as an
  723.  *    lvalue.
  724.  */
  725. /* FILE_cnt:
  726.  *    This macro is used to access the _cnt field (or equivalent) of the
  727.  *    FILE structure pointed to by its argument. This macro will always be
  728.  *    defined if USE_STDIO_PTR is defined.
  729.  */
  730. /* STDIO_CNT_LVALUE:
  731.  *    This symbol is defined if the FILE_cnt macro can be used as an
  732.  *    lvalue.
  733.  */
  734. #ifdef USE_STDIO_PTR
  735. #define FILE_ptr(fp)    ((fp)->_ptr)
  736. #define STDIO_PTR_LVALUE         /**/
  737. #define FILE_cnt(fp)    ((fp)->_cnt)
  738. #define STDIO_CNT_LVALUE         /**/
  739. #endif
  740.  
  741. /* FILE_base:
  742.  *    This macro is used to access the _base field (or equivalent) of the
  743.  *    FILE structure pointed to by its argument. This macro will always be
  744.  *    defined if USE_STDIO_BASE is defined.
  745.  */
  746. /* FILE_bufsiz:
  747.  *    This macro is used to determine the number of bytes in the I/O
  748.  *    buffer pointed to by _base field (or equivalent) of the FILE
  749.  *    structure pointed to its argument. This macro will always be defined
  750.  *    if USE_STDIO_BASE is defined.
  751.  */
  752. #ifdef USE_STDIO_BASE
  753. #define FILE_base(fp)    ((fp)->_base)
  754. #define FILE_bufsiz(fp)    ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
  755. #endif
  756.  
  757. /* HAS_STRCHR:
  758.  *    This symbol is defined to indicate that the strchr()/strrchr()
  759.  *    functions are available for string searching. If not, try the
  760.  *    index()/rindex() pair.
  761.  */
  762. /* HAS_INDEX:
  763.  *    This symbol is defined to indicate that the index()/rindex()
  764.  *    functions are available for string searching.
  765.  */
  766. #define HAS_STRCHR    /**/
  767. /*#define HAS_INDEX    /**/
  768.  
  769. /* HAS_STRCOLL:
  770.  *    This symbol, if defined, indicates that the strcoll routine is
  771.  *    available to compare strings using collating information.
  772.  */
  773. #define HAS_STRCOLL    /**/
  774.  
  775. /* USE_STRUCT_COPY:
  776.  *    This symbol, if defined, indicates that this C compiler knows how
  777.  *    to copy structures.  If undefined, you'll need to use a block copy
  778.  *    routine of some sort instead.
  779.  */
  780. #define    USE_STRUCT_COPY    /**/
  781.  
  782. /* HAS_STRERROR:
  783.  *    This symbol, if defined, indicates that the strerror routine is
  784.  *    available to translate error numbers to strings. See the writeup
  785.  *    of Strerror() in this file before you try to define your own.
  786.  */
  787. /* HAS_SYS_ERRLIST:
  788.  *    This symbol, if defined, indicates that the sys_errlist array is
  789.  *    available to translate error numbers to strings. The extern int
  790.  *    sys_nerr gives the size of that table.
  791.  */
  792. /* Strerror:
  793.  *    This preprocessor symbol is defined as a macro if strerror() is
  794.  *    not available to translate error numbers to strings but sys_errlist[]
  795.  *    array is there.
  796.  */
  797. #define HAS_STRERROR        /**/
  798. #define HAS_SYS_ERRLIST    /**/
  799. #define Strerror(e) strerror(e)
  800.  
  801. /* HAS_STRXFRM:
  802.  *    This symbol, if defined, indicates that the strxfrm() routine is
  803.  *    available to transform strings.
  804.  */
  805. #define HAS_STRXFRM    /**/
  806.  
  807. /* HAS_SYMLINK:
  808.  *    This symbol, if defined, indicates that the symlink routine is available
  809.  *    to create symbolic links.
  810.  */
  811. #define HAS_SYMLINK    /**/
  812.  
  813. /* HAS_SYSCALL:
  814.  *    This symbol, if defined, indicates that the syscall routine is
  815.  *    available to call arbitrary system calls. If undefined, that's tough.
  816.  */
  817. #define HAS_SYSCALL    /**/
  818.  
  819. /* HAS_SYSCONF:
  820.  *    This symbol, if defined, indicates that sysconf() is available
  821.  *    to determine system related limits and options.
  822.  */
  823. #define HAS_SYSCONF    /**/
  824.  
  825. /* HAS_SYSTEM:
  826.  *    This symbol, if defined, indicates that the system routine is
  827.  *    available to issue a shell command.
  828.  */
  829. #define HAS_SYSTEM    /**/
  830.  
  831. /* HAS_TCGETPGRP:
  832.  *    This symbol, if defined, indicates that the tcgetpgrp routine is
  833.  *    available to get foreground process group ID.
  834.  */
  835. #define HAS_TCGETPGRP        /**/
  836.  
  837. /* HAS_TCSETPGRP:
  838.  *    This symbol, if defined, indicates that the tcsetpgrp routine is
  839.  *    available to set foreground process group ID.
  840.  */
  841. #define HAS_TCSETPGRP        /**/
  842.  
  843. /* Time_t:
  844.  *    This symbol holds the type returned by time(). It can be long,
  845.  *    or time_t on BSD sites (in which case <sys/types.h> should be
  846.  *    included).
  847.  */
  848. #define Time_t time_t        /* Time type */
  849.  
  850. /* HAS_TIMES:
  851.  *    This symbol, if defined, indicates that the times() routine exists.
  852.  *    Note that this became obsolete on some systems (SUNOS), which now
  853.  * use getrusage(). It may be necessary to include <sys/times.h>.
  854.  */
  855. #define HAS_TIMES        /**/
  856.  
  857. /* HAS_TRUNCATE:
  858.  *    This symbol, if defined, indicates that the truncate routine is
  859.  *    available to truncate files.
  860.  */
  861. #define HAS_TRUNCATE    /**/
  862.  
  863. /* HAS_TZNAME:
  864.  *    This symbol, if defined, indicates that the tzname[] array is
  865.  *    available to access timezone names.
  866.  */
  867. #define HAS_TZNAME        /**/
  868.  
  869. /* HAS_UMASK:
  870.  *    This symbol, if defined, indicates that the umask routine is
  871.  *    available to set and get the value of the file creation mask.
  872.  */
  873. #define HAS_UMASK        /**/
  874.  
  875. /* HAS_VFORK:
  876.  *    This symbol, if defined, indicates that vfork() exists.
  877.  */
  878. /*#define HAS_VFORK    /**/
  879.  
  880. /* Signal_t:
  881.  *    This symbol's value is either "void" or "int", corresponding to the
  882.  *    appropriate return type of a signal handler.  Thus, you can declare
  883.  *    a signal handler using "Signal_t (*handler)()", and define the
  884.  *    handler using "Signal_t handler(sig)".
  885.  */
  886. #define Signal_t void    /* Signal handler's return type */
  887.  
  888. /* HASVOLATILE:
  889.  *    This symbol, if defined, indicates that this C compiler knows about
  890.  *    the volatile declaration.
  891.  */
  892. #define    HASVOLATILE    /**/
  893. #ifndef HASVOLATILE
  894. #define volatile
  895. #endif
  896.  
  897. /* HAS_VPRINTF:
  898.  *    This symbol, if defined, indicates that the vprintf routine is available
  899.  *    to printf with a pointer to an argument list.  If unavailable, you
  900.  *    may need to write your own, probably in terms of _doprnt().
  901.  */
  902. /* USE_CHAR_VSPRINTF:
  903.  *    This symbol is defined if this system has vsprintf() returning type
  904.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  905.  *    is up to the package author to declare vsprintf correctly based on the
  906.  *    symbol.
  907.  */
  908. #define HAS_VPRINTF    /**/
  909. /*#define USE_CHAR_VSPRINTF     /**/
  910.  
  911. /* HAS_WAIT4:
  912.  *    This symbol, if defined, indicates that wait4() exists.
  913.  */
  914. /*#define HAS_WAIT4    /**/
  915.  
  916. /* HAS_WAITPID:
  917.  *    This symbol, if defined, indicates that the waitpid routine is
  918.  *    available to wait for child process.
  919.  */
  920. #define HAS_WAITPID    /**/
  921.  
  922. /* HAS_WCSTOMBS:
  923.  *    This symbol, if defined, indicates that the wcstombs routine is
  924.  *    available to convert wide character strings to multibyte strings.
  925.  */
  926. #define HAS_WCSTOMBS    /**/
  927.  
  928. /* HAS_WCTOMB:
  929.  *    This symbol, if defined, indicates that the wctomb routine is available
  930.  *    to covert a wide character to a multibyte.
  931.  */
  932. #define HAS_WCTOMB        /**/
  933.  
  934. /* Fpos_t:
  935.  *    This symbol holds the type used to declare file positions in libc.
  936.  *    It can be fpos_t, long, uint, etc... It may be necessary to include
  937.  *    <sys/types.h> to get any typedef'ed information.
  938.  */
  939. #define Fpos_t fpos_t        /* File position type */
  940.  
  941. /* Gid_t:
  942.  *    This symbol holds the return type of getgid() and the type of
  943.  *    argument to setrgid() and related functions.  Typically,
  944.  *    it is the type of group ids in the kernel. It can be int, ushort,
  945.  *    uid_t, etc... It may be necessary to include <sys/types.h> to get
  946.  *    any typedef'ed information.
  947.  */
  948. #define Gid_t gid_t        /* Type for getgid(), etc... */
  949.  
  950. /* Groups_t:
  951.  *    This symbol holds the type used for the second argument to
  952.  *    getgroups().  Usually, this is the same of gidtype, but
  953.  *    sometimes it isn't.  It can be int, ushort, uid_t, etc... 
  954.  *    It may be necessary to include <sys/types.h> to get any 
  955.  *    typedef'ed information.  This is only required if you have
  956.  *    getgroups().
  957.  */
  958. #ifdef HAS_GETGROUPS
  959. #define Groups_t gid_t    /* Type for 2nd arg to getgroups() */
  960. #endif
  961.  
  962. /* DB_Prefix_t:
  963.  *    This symbol contains the type of the prefix structure element
  964.  *    in the <db.h> header file.  In older versions of DB, it was
  965.  *    int, while in newer ones it is u_int32_t.
  966.  */
  967. /* DB_Hash_t:
  968.  *    This symbol contains the type of the prefix structure element
  969.  *    in the <db.h> header file.  In older versions of DB, it was
  970.  *    int, while in newer ones it is size_t.
  971.  */
  972. #define DB_Hash_t    int        /**/
  973. #define DB_Prefix_t    int      /**/
  974.  
  975. /* I_DIRENT:
  976.  *    This symbol, if defined, indicates to the C program that it should
  977.  *    include <dirent.h>. Using this symbol also triggers the definition
  978.  *    of the Direntry_t define which ends up being 'struct dirent' or
  979.  *    'struct direct' depending on the availability of <dirent.h>.
  980.  */
  981. /* DIRNAMLEN:
  982.  *    This symbol, if defined, indicates to the C program that the length
  983.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  984.  *    you need to do strlen() on the d_name field.
  985.  */
  986. /* Direntry_t:
  987.  *    This symbol is set to 'struct direct' or 'struct dirent' depending on
  988.  *    whether dirent is available or not. You should use this pseudo type to
  989.  *    portably declare your directory entries.
  990.  */
  991. #define I_DIRENT        /**/
  992. /*#define DIRNAMLEN    /**/
  993. #define Direntry_t struct dirent
  994.  
  995. /* I_DLFCN:
  996.  *    This symbol, if defined, indicates that <dlfcn.h> exists and should
  997.  *    be included.
  998.  */
  999. #define I_DLFCN        /**/
  1000.  
  1001. /* I_FCNTL:
  1002.  *    This manifest constant tells the C program to include <fcntl.h>.
  1003.  */
  1004. #define I_FCNTL    /**/
  1005.  
  1006. /* I_FLOAT:
  1007.  *    This symbol, if defined, indicates to the C program that it should
  1008.  *    include <float.h> to get definition of symbols like DBL_MAX or
  1009.  *    DBL_MIN, i.e. machine dependent floating point values.
  1010.  */
  1011. #define I_FLOAT        /**/
  1012.  
  1013. /* I_GRP:
  1014.  *    This symbol, if defined, indicates to the C program that it should
  1015.  *    include <grp.h>.
  1016.  */
  1017. #define I_GRP        /**/
  1018.  
  1019. /* I_LIMITS:
  1020.  *    This symbol, if defined, indicates to the C program that it should
  1021.  *    include <limits.h> to get definition of symbols like WORD_BIT or
  1022.  *    LONG_MAX, i.e. machine dependant limitations.
  1023.  */
  1024. #define I_LIMITS        /**/
  1025.  
  1026. /* I_MATH:
  1027.  *    This symbol, if defined, indicates to the C program that it should
  1028.  *    include <math.h>.
  1029.  */
  1030. #define I_MATH        /**/
  1031.  
  1032. /* I_MEMORY:
  1033.  *    This symbol, if defined, indicates to the C program that it should
  1034.  *    include <memory.h>.
  1035.  */
  1036. /*#define I_MEMORY        /**/
  1037.  
  1038. /* I_NDBM:
  1039.  *    This symbol, if defined, indicates that <ndbm.h> exists and should
  1040.  *    be included.
  1041.  */
  1042. #define I_NDBM    /**/
  1043.  
  1044. /* I_NET_ERRNO:
  1045.  *    This symbol, if defined, indicates that <net/errno.h> exists and 
  1046.  *    should be included.
  1047.  */
  1048. /*#define I_NET_ERRNO        /**/
  1049.  
  1050. /* I_NETINET_IN:
  1051.  *    This symbol, if defined, indicates to the C program that it should
  1052.  *    include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
  1053.  */
  1054. #define I_NETINET_IN    /**/
  1055.  
  1056. /* I_PWD:
  1057.  *    This symbol, if defined, indicates to the C program that it should
  1058.  *    include <pwd.h>.
  1059.  */
  1060. /* PWQUOTA:
  1061.  *    This symbol, if defined, indicates to the C program that struct passwd
  1062.  *    contains pw_quota.
  1063.  */
  1064. /* PWAGE:
  1065.  *    This symbol, if defined, indicates to the C program that struct passwd
  1066.  *    contains pw_age.
  1067.  */
  1068. /* PWCHANGE:
  1069.  *    This symbol, if defined, indicates to the C program that struct passwd
  1070.  *    contains pw_change.
  1071.  */
  1072. /* PWCLASS:
  1073.  *    This symbol, if defined, indicates to the C program that struct passwd
  1074.  *    contains pw_class.
  1075.  */
  1076. /* PWEXPIRE:
  1077.  *    This symbol, if defined, indicates to the C program that struct passwd
  1078.  *    contains pw_expire.
  1079.  */
  1080. /* PWCOMMENT:
  1081.  *    This symbol, if defined, indicates to the C program that struct passwd
  1082.  *    contains pw_comment.
  1083.  */
  1084. #define I_PWD        /**/
  1085. /*#define PWQUOTA    /**/
  1086. #define PWAGE    /**/
  1087. /*#define PWCHANGE    /**/
  1088. /*#define PWCLASS    /**/
  1089. /*#define PWEXPIRE    /**/
  1090. #define PWCOMMENT    /**/
  1091.  
  1092. /* I_STDDEF:
  1093.  *    This symbol, if defined, indicates that <stddef.h> exists and should
  1094.  *    be included.
  1095.  */
  1096. #define I_STDDEF    /**/
  1097.  
  1098. /* I_STDLIB:
  1099.  *    This symbol, if defined, indicates that <stdlib.h> exists and should
  1100.  *    be included.
  1101.  */
  1102. #define I_STDLIB        /**/
  1103.  
  1104. /* I_STRING:
  1105.  *    This symbol, if defined, indicates to the C program that it should
  1106.  *    include <string.h> (USG systems) instead of <strings.h> (BSD systems).
  1107.  */
  1108. #define I_STRING        /**/
  1109.  
  1110. /* I_SYS_DIR:
  1111.  *    This symbol, if defined, indicates to the C program that it should
  1112.  *    include <sys/dir.h>.
  1113.  */
  1114. /*#define I_SYS_DIR        /**/
  1115.  
  1116. /* I_SYS_FILE:
  1117.  *    This symbol, if defined, indicates to the C program that it should
  1118.  *    include <sys/file.h> to get definition of R_OK and friends.
  1119.  */
  1120. /*#define I_SYS_FILE        /**/
  1121.  
  1122. /* I_SYS_IOCTL:
  1123.  *    This symbol, if defined, indicates that <sys/ioctl.h> exists and should
  1124.  *    be included. Otherwise, include <sgtty.h> or <termio.h>.
  1125.  */
  1126. #define    I_SYS_IOCTL        /**/
  1127.  
  1128. /* I_SYS_NDIR:
  1129.  *    This symbol, if defined, indicates to the C program that it should
  1130.  *    include <sys/ndir.h>.
  1131.  */
  1132. /*#define I_SYS_NDIR    /**/
  1133.  
  1134. /* I_SYS_PARAM:
  1135.  *    This symbol, if defined, indicates to the C program that it should
  1136.  *    include <sys/param.h>.
  1137.  */
  1138. #define I_SYS_PARAM        /**/
  1139.  
  1140. /* I_SYS_SELECT:
  1141.  *    This symbol, if defined, indicates to the C program that it should
  1142.  *    include <sys/select.h> in order to get definition of struct timeval.
  1143.  */
  1144. #define I_SYS_SELECT    /**/
  1145.  
  1146. /* I_SYS_TIMES:
  1147.  *    This symbol, if defined, indicates to the C program that it should
  1148.  *    include <sys/times.h>.
  1149.  */
  1150. #define    I_SYS_TIMES        /**/
  1151.  
  1152. /* I_SYS_TYPES:
  1153.  *    This symbol, if defined, indicates to the C program that it should
  1154.  *    include <sys/types.h>.
  1155.  */
  1156. #define    I_SYS_TYPES        /**/
  1157.  
  1158. /* I_SYS_UN:
  1159.  *    This symbol, if defined, indicates to the C program that it should
  1160.  *    include <sys/un.h> to get UNIX domain socket definitions.
  1161.  */
  1162. #define I_SYS_UN        /**/
  1163.  
  1164. /* I_TERMIO:
  1165.  *    This symbol, if defined, indicates that the program should include
  1166.  *    <termio.h> rather than <sgtty.h>.  There are also differences in
  1167.  *    the ioctl() calls that depend on the value of this symbol.
  1168.  */
  1169. /* I_TERMIOS:
  1170.  *    This symbol, if defined, indicates that the program should include
  1171.  *    the POSIX termios.h rather than sgtty.h or termio.h.
  1172.  *    There are also differences in the ioctl() calls that depend on the
  1173.  *    value of this symbol.
  1174.  */
  1175. /* I_SGTTY:
  1176.  *    This symbol, if defined, indicates that the program should include
  1177.  *    <sgtty.h> rather than <termio.h>.  There are also differences in
  1178.  *    the ioctl() calls that depend on the value of this symbol.
  1179.  */
  1180. /*#define I_TERMIO        /**/
  1181. #define I_TERMIOS        /**/
  1182. /*#define I_SGTTY        /**/
  1183.  
  1184. /* I_TIME:
  1185.  *    This symbol, if defined, indicates to the C program that it should
  1186.  *    include <time.h>.
  1187.  */
  1188. /* I_SYS_TIME:
  1189.  *    This symbol, if defined, indicates to the C program that it should
  1190.  *    include <sys/time.h>.
  1191.  */
  1192. /* I_SYS_TIME_KERNEL:
  1193.  *    This symbol, if defined, indicates to the C program that it should
  1194.  *    include <sys/time.h> with KERNEL defined.
  1195.  */
  1196. /*#define I_TIME        /**/
  1197. #define I_SYS_TIME        /**/
  1198. /*#define I_SYS_TIME_KERNEL        /**/
  1199.  
  1200. /* I_UNISTD:
  1201.  *    This symbol, if defined, indicates to the C program that it should
  1202.  *    include <unistd.h>.
  1203.  */
  1204. #define I_UNISTD        /**/
  1205.  
  1206. /* I_UTIME:
  1207.  *    This symbol, if defined, indicates to the C program that it should
  1208.  *    include <utime.h>.
  1209.  */
  1210. #define I_UTIME        /**/
  1211.  
  1212. /* I_VFORK:
  1213.  *    This symbol, if defined, indicates to the C program that it should
  1214.  *    include vfork.h.
  1215.  */
  1216. /*#define I_VFORK    /**/
  1217.  
  1218. /* Off_t:
  1219.  *    This symbol holds the type used to declare offsets in the kernel.
  1220.  *    It can be int, long, off_t, etc... It may be necessary to include
  1221.  *    <sys/types.h> to get any typedef'ed information.
  1222.  */
  1223. #define Off_t off_t        /* <offset> type */
  1224.  
  1225. /* Mode_t:
  1226.  *    This symbol holds the type used to declare file modes 
  1227.  *    for systems calls.  It is usually mode_t, but may be
  1228.  *    int or unsigned short.  It may be necessary to include <sys/types.h>
  1229.  *    to get any typedef'ed information.
  1230.  */
  1231. #define Mode_t mode_t     /* file mode parameter for system calls */
  1232.  
  1233. /* CAN_PROTOTYPE:
  1234.  *    If defined, this macro indicates that the C compiler can handle
  1235.  *    function prototypes.
  1236.  */
  1237. /* _:
  1238.  *    This macro is used to declare function parameters for folks who want
  1239.  *    to make declarations with prototypes using a different style than
  1240.  *    the above macros.  Use double parentheses.  For example:
  1241.  *
  1242.  *        int main _((int argc, char *argv[]));
  1243.  */
  1244. #define    CAN_PROTOTYPE    /**/
  1245. #ifdef CAN_PROTOTYPE
  1246. #define    _(args) args
  1247. #else
  1248. #define    _(args) ()
  1249. #endif
  1250.  
  1251. /* RANDBITS:
  1252.  *    This symbol contains the number of bits of random number the rand()
  1253.  *    function produces.  Usual values are 15, 16, and 31.
  1254.  */
  1255. #define RANDBITS 15        /**/
  1256.  
  1257. /* SCRIPTDIR:
  1258.  *    This symbol holds the name of the directory in which the user wants
  1259.  *    to put publicly executable scripts for the package in question.  It
  1260.  *    is often a directory that is mounted across diverse architectures.
  1261.  *    Programs must be prepared to deal with ~name expansion.
  1262.  */
  1263. #define SCRIPTDIR "/usr/local/script"    /**/
  1264.  
  1265. /* Select_fd_set_t:
  1266.  *    This symbol holds the type used for the 2nd, 3rd, and 4th
  1267.  *    arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
  1268.  *    is defined, and 'int *' otherwise.  This is only useful if you 
  1269.  *    have select(), of course.
  1270.  */
  1271. #define Select_fd_set_t     fd_set *    /**/
  1272.  
  1273. /* Size_t:
  1274.  *    This symbol holds the type used to declare length parameters
  1275.  *    for string functions.  It is usually size_t, but may be
  1276.  *    unsigned long, int, etc.  It may be necessary to include
  1277.  *    <sys/types.h> to get any typedef'ed information.
  1278.  */
  1279. #define Size_t size_t     /* length paramater for string functions */
  1280.  
  1281. /* SSize_t:
  1282.  *    This symbol holds the type used by functions that return
  1283.  *    a count of bytes or an error condition.  It must be a signed type.
  1284.  *    It is usually ssize_t, but may be long or int, etc.
  1285.  *    It may be necessary to include <sys/types.h> or <unistd.h>
  1286.  *    to get any typedef'ed information.
  1287.  *    We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
  1288.  */
  1289. #define SSize_t ssize_t     /* signed count of bytes */
  1290.  
  1291. /* STDCHAR:
  1292.  *    This symbol is defined to be the type of char used in stdio.h.
  1293.  *    It has the values "unsigned char" or "char".
  1294.  */
  1295. #define STDCHAR unsigned char    /**/
  1296.  
  1297. /* Uid_t:
  1298.  *    This symbol holds the type used to declare user ids in the kernel.
  1299.  *    It can be int, ushort, uid_t, etc... It may be necessary to include
  1300.  *    <sys/types.h> to get any typedef'ed information.
  1301.  */
  1302. #define Uid_t uid_t        /* UID type */
  1303.  
  1304. /* VMS:
  1305.  *    This symbol, if defined, indicates that the program is running under
  1306.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  1307.  */
  1308. /*#define VMS        /**/
  1309.  
  1310. /* LOC_SED:
  1311.  *    This symbol holds the complete pathname to the sed program.
  1312.  */
  1313. #define LOC_SED     "/bin/sed"    /**/
  1314.  
  1315. /* ARCHLIB_EXP:
  1316.  *    This symbol contains the ~name expanded version of ARCHLIB, to be used
  1317.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1318.  */
  1319. #define ARCHLIB_EXP "/usr/local/lib/perl5/i86pc-solaris/5.002"        /**/
  1320.  
  1321. /* OSNAME:
  1322.  *    This symbol contains the name of the operating system, as determined
  1323.  *    by Configure.
  1324.  */
  1325. #define OSNAME "solaris"        /**/
  1326.  
  1327. /* BYTEORDER:
  1328.  *    This symbol hold the hexadecimal constant defined in byteorder,
  1329.  *    i.e. 0x1234 or 0x4321, etc...
  1330.  */
  1331. #define BYTEORDER 0x1234    /* large digits for MSB */
  1332.  
  1333. /* CSH:
  1334.  *    This symbol, if defined, indicates that the C-shell exists.
  1335.  *    If defined, contains the full pathname of csh.
  1336.  */
  1337. #define CSH "/bin/csh"        /**/
  1338.  
  1339. /* DLSYM_NEEDS_UNDERSCORE:
  1340.  *    This symbol, if defined, indicates that we need to prepend an
  1341.  *    underscore to the symbol name before calling dlsym().  This only
  1342.  *    makes sense if you *have* dlsym, which we will presume is the
  1343.  *    case if you're using dl_dlopen.xs.
  1344.  */
  1345. /*#define     DLSYM_NEEDS_UNDERSCORE     /* */
  1346.  
  1347. /* SETUID_SCRIPTS_ARE_SECURE_NOW:
  1348.  *    This symbol, if defined, indicates that the bug that prevents
  1349.  *    setuid scripts from being secure is not present in this kernel.
  1350.  */
  1351. /* DOSUID:
  1352.  *    This symbol, if defined, indicates that the C program should
  1353.  *    check the script that it is executing for setuid/setgid bits, and
  1354.  *    attempt to emulate setuid/setgid on systems that have disabled
  1355.  *    setuid #! scripts because the kernel can't do it securely.
  1356.  *    It is up to the package designer to make sure that this emulation
  1357.  *    is done securely.  Among other things, it should do an fstat on
  1358.  *    the script it just opened to make sure it really is a setuid/setgid
  1359.  *    script, it should make sure the arguments passed correspond exactly
  1360.  *    to the argument on the #! line, and it should not trust any
  1361.  *    subprocesses to which it must pass the filename rather than the
  1362.  *    file descriptor of the script to be executed.
  1363.  */
  1364. #define SETUID_SCRIPTS_ARE_SECURE_NOW    /**/
  1365. /*#define DOSUID        /**/
  1366.  
  1367. /* Gconvert:
  1368.  *    This preprocessor macro is defined to convert a floating point
  1369.  *    number to a string without a trailing decimal point.  This
  1370.  *    emulates the behavior of sprintf("%g"), but is sometimes much more
  1371.  *    efficient.  If gconvert() is not available, but gcvt() drops the
  1372.  *    trailing decimal point, then gcvt() is used.  If all else fails,
  1373.  *    a macro using sprintf("%g") is used. Arguments for the Gconvert
  1374.  *    macro are: value, number of digits, whether trailing zeros should
  1375.  *    be retained, and the output buffer.
  1376.  *    Possible values are:
  1377.  *        d_Gconvert='gconvert((x),(n),(t),(b))'
  1378.  *        d_Gconvert='gcvt((x),(n),(b))'
  1379.  *        d_Gconvert='sprintf((b),"%.*g",(n),(x))'
  1380.  *    The last two assume trailing zeros should not be kept.
  1381.  */
  1382. #define Gconvert(x,n,t,b) gconvert((x),(n),(t),(b))
  1383.  
  1384. /* Sigjmp_buf:
  1385.  * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
  1386.  */
  1387. /* Sigsetjmp:
  1388.  * This macro is used in the same way as sigsetjmp(), but will invoke
  1389.  * traditional setjmp() if sigsetjmp isn't available.
  1390.  */
  1391. /* Siglongjmp:
  1392.  * This macro is used in the same way as siglongjmp(), but will invoke
  1393.  * traditional longjmp() if siglongjmp isn't available.
  1394.  */
  1395. #define HAS_SIGSETJMP    /**/
  1396. #ifdef HAS_SIGSETJMP
  1397. #define Sigjmp_buf sigjmp_buf
  1398. #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask)
  1399. #define Siglongjmp(buf,retval) siglongjmp(buf,retval)
  1400. #else
  1401. #define Sigjmp_buf jmp_buf
  1402. #define Sigsetjmp(buf,save_mask) setjmp(buf)
  1403. #define Siglongjmp(buf,retval) longjmp(buf,retval)
  1404. #endif
  1405.  
  1406. /* USE_DYNAMIC_LOADING:
  1407.  *    This symbol, if defined, indicates that dynamic loading of
  1408.  *    some sort is available.
  1409.  */
  1410. #define USE_DYNAMIC_LOADING        /**/
  1411.  
  1412. /* I_DBM:
  1413.  *    This symbol, if defined, indicates that <dbm.h> exists and should
  1414.  *    be included.
  1415.  */
  1416. /* I_RPCSVC_DBM:
  1417.  *    This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
  1418.  *    should be included.
  1419.  */
  1420. /*#define I_DBM    /**/
  1421. #define I_RPCSVC_DBM    /**/
  1422.  
  1423. /* I_LOCALE:
  1424.  *    This symbol, if defined, indicates to the C program that it should
  1425.  *    include <locale.h>.
  1426.  */
  1427. #define    I_LOCALE        /**/
  1428.  
  1429. /* I_SYS_STAT:
  1430.  *    This symbol, if defined, indicates to the C program that it should
  1431.  *    include <sys/stat.h>.
  1432.  */
  1433. #define    I_SYS_STAT        /**/
  1434.  
  1435. /* I_STDARG:
  1436.  *    This symbol, if defined, indicates that <stdarg.h> exists and should
  1437.  *    be included.
  1438.  */
  1439. /* I_VARARGS:
  1440.  *    This symbol, if defined, indicates to the C program that it should
  1441.  *    include <varargs.h>.
  1442.  */
  1443. #define I_STDARG        /**/
  1444. /*#define I_VARARGS    /**/
  1445.  
  1446. /* INTSIZE:
  1447.  *    This symbol contains the size of an int, so that the C preprocessor
  1448.  *    can make decisions based on it.
  1449.  */
  1450. #define INTSIZE 4        /**/
  1451.  
  1452. /* Free_t:
  1453.  *    This variable contains the return type of free().  It is usually
  1454.  * void, but occasionally int.
  1455.  */
  1456. /* Malloc_t:
  1457.  *    This symbol is the type of pointer returned by malloc and realloc.
  1458.  */
  1459. #define Malloc_t void *            /**/
  1460. #define Free_t void            /**/
  1461.  
  1462. /* MYMALLOC:
  1463.  *    This symbol, if defined, indicates that we're using our own malloc.
  1464.  */
  1465. #define MYMALLOC            /**/
  1466.  
  1467. /* VAL_O_NONBLOCK:
  1468.  *    This symbol is to be used during open() or fcntl(F_SETFL) to turn on
  1469.  *    non-blocking I/O for the file descriptor. Note that there is no way
  1470.  *    back, i.e. you cannot turn it blocking again this way. If you wish to
  1471.  *    alternatively switch between blocking and non-blocking, use the
  1472.  *    ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
  1473.  */
  1474. /* VAL_EAGAIN:
  1475.  *    This symbol holds the errno error code set by read() when no data was
  1476.  *    present on the non-blocking file descriptor.
  1477.  */
  1478. /* RD_NODATA:
  1479.  *    This symbol holds the return code from read() when no data is present
  1480.  *    on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
  1481.  *    not defined, then you can't distinguish between no data and EOF by
  1482.  *    issuing a read(). You'll have to find another way to tell for sure!
  1483.  */
  1484. /* EOF_NONBLOCK:
  1485.  *    This symbol, if defined, indicates to the C program that a read() on
  1486.  *    a non-blocking file descriptor will return 0 on EOF, and not the value
  1487.  *    held in RD_NODATA (-1 usually, in that case!).
  1488.  */
  1489. #define VAL_O_NONBLOCK O_NONBLOCK
  1490. #define VAL_EAGAIN EAGAIN
  1491. #define RD_NODATA -1
  1492. #define EOF_NONBLOCK
  1493.  
  1494. /* OLDARCHLIB_EXP:
  1495.  *    This symbol contains the ~name expanded version of OLDARCHLIB, to be
  1496.  *    used in programs that are not prepared to deal with ~ expansion at 
  1497.  *    run-time.
  1498.  */
  1499. /*#define OLDARCHLIB_EXP ""        /**/
  1500.  
  1501. /* PRIVLIB_EXP:
  1502.  *    This symbol contains the ~name expanded version of PRIVLIB, to be used
  1503.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1504.  */
  1505. #define PRIVLIB_EXP "/usr/local/lib/perl5"        /**/
  1506.  
  1507. /* SIG_NAME:
  1508.  *    This symbol contains a list of signal names in order of
  1509.  *    signal number. This is intended
  1510.  *    to be used as a static array initialization, like this:
  1511.  *        char *sig_name[] = { SIG_NAME };
  1512.  *    The signals in the list are separated with commas, and each signal
  1513.  *    is surrounded by double quotes. There is no leading SIG in the signal
  1514.  *    name, i.e. SIGQUIT is known as "QUIT".
  1515.  *    Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
  1516.  *    etc., where nn is the actual signal number (e.g. NUM37).
  1517.  *    The signal number for sig_name[i] is stored in sig_num[i].
  1518.  *    The last element is 0 to terminate the list with a NULL.  This
  1519.  *    corresponds to the 0 at the end of the sig_num list.
  1520.  */
  1521. /* SIG_NUM:
  1522.  *    This symbol contains a list of signal numbers, in the same order as the
  1523.  *    SIG_NAME list. It is suitable for static array initialization, as in:
  1524.  *        int sig_num[] = { SIG_NUM };
  1525.  *    The signals in the list are separated with commas, and the indices
  1526.  *    within that list and the SIG_NAME list match, so it's easy to compute
  1527.  *    the signal name from a number or vice versa at the price of a small
  1528.  *    dynamic linear lookup. 
  1529.  *    Duplicates are allowed, but are moved to the end of the list.
  1530.  *    The signal number corresponding to sig_name[i] is sig_number[i].
  1531.  *    if (i < NSIG) then sig_number[i] == i.  
  1532.  *    The last element is 0, corresponding to the 0 at the end of
  1533.  *    the sig_name list.
  1534.  */
  1535. #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","RTMIN","NUM37","NUM38","NUM39","NUM40","NUM41","NUM42","RTMAX","IOT","CLD","POLL",0    /**/
  1536. #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,6,18,22,0    /**/
  1537.  
  1538. /* SITEARCH_EXP:
  1539.  *    This symbol contains the ~name expanded version of SITEARCH, to be used
  1540.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1541.  */
  1542. #define SITEARCH_EXP "/usr/local/lib/perl5/site_perl/i86pc-solaris"        /**/
  1543.  
  1544. /* SITELIB_EXP:
  1545.  *    This symbol contains the ~name expanded version of SITELIB, to be used
  1546.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1547.  */
  1548. #define SITELIB_EXP "/usr/local/lib/perl5/site_perl"        /**/
  1549.  
  1550. /* STARTPERL:
  1551.  *    This variable contains the string to put in front of a perl
  1552.  *    script to make sure (one hopes) that it runs with perl and not
  1553.  *    some shell.
  1554.  */
  1555. #define STARTPERL "#!/usr/local/bin/perl"        /**/
  1556.  
  1557. /* VOIDFLAGS:
  1558.  *    This symbol indicates how much support of the void type is given by this
  1559.  *    compiler.  What various bits mean:
  1560.  *
  1561.  *        1 = supports declaration of void
  1562.  *        2 = supports arrays of pointers to functions returning void
  1563.  *        4 = supports comparisons between pointers to void functions and
  1564.  *            addresses of void functions
  1565.  *        8 = suports declaration of generic void pointers
  1566.  *
  1567.  *    The package designer should define VOIDUSED to indicate the requirements
  1568.  *    of the package.  This can be done either by #defining VOIDUSED before
  1569.  *    including config.h, or by defining defvoidused in Myinit.U.  If the
  1570.  *    latter approach is taken, only those flags will be tested.  If the
  1571.  *    level of void support necessary is not present, defines void to int.
  1572.  */
  1573. #ifndef VOIDUSED
  1574. #define VOIDUSED 15
  1575. #endif
  1576. #define VOIDFLAGS 15
  1577. #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
  1578. #define void int        /* is void to be avoided? */
  1579. #define M_VOID            /* Xenix strikes again */
  1580. #endif
  1581.  
  1582. #endif
  1583.